package code.framework.android.service;

import java.io.IOException;
import java.net.URL;

import android.content.Context;
import android.graphics.drawable.Drawable;

public interface ResourceService {

	int BUFFER_SIZE = 32 * 1024;

	int getResId(Class<?> resourceIdClass, String id);

	Drawable getDrawable(Class<?> resourceIdClass, String id, Context c);

	byte[] getBytes(URL url) throws IOException;

}
